using System;
using System.Collections.Generic;
using System.Text;

namespace DarkOmen.Common
{
    public interface IServer
    {
        event EventHandler Connect;

        event EventHandler Disconnect;

        event EventHandler RecieveData;

        event EventHandler SendData;

        event EventHandler ConnectionAttempt;

        System.Net.Sockets.Socket Socket
        {
            get;
            set;
        }

        Guid GUID
        {
            get;
            set;
        }
    
        void OnConnect();

        void OnDisconnect();

        void OnRecieveData();

        void OnSendData();

        void OnConnectionAttempt();
    }
}
